using I2.Loc;

public class NewReputationLevelMessage : RewardMessage
{
	public UISprite iconSprite;

	public UILabel textLabel;

	public UILabel reputationNameLabel;

	public void SetMessageInfo(GameplayEvent gameplayEvent)
	{
		int num = BCWStorage.Get<int>(settings.keyCurrentReputationLevel);
		iconSprite.spriteName = GameplayRewardManager.instance.reputationLevels[num].iconName;
		reputationNameLabel.text = ScriptLocalization.GetReputationLocalizationText(gameplayEvent.name);
		Invoke("RemoveWithAnimation", liveTime);
	}
}
